package io;

public class Demo {
    public static void main(String[] args) {
        long time=System.currentTimeMillis();
        //从原文件读取一个字节
        System.out.println(time);
        time =time/1000/60/60/24/365;
        System.out.println(time);

        time=Long.MAX_VALUE;
        time = time/1000/60/60/24/365;//换算成年
        System.out.println("公元:"+(1970+time));
    }
}
